package xiegd.study.design;

/**
 * @Author: xieguangda
 * @Description:
 * @Date: 2023/11/29 16:15
 */
public class ErrorAlertHandler {
//    public ErrorAlertHandler(AlertRule rule, Notification notification){
//        super(rule, notification);
//    }
//
//
//    @Override
//    public void check(ApiStatInfo apiStatInfo) {
//        if (apiStatInfo.getErrorCount() > rule.getMatchedRule(apiStatInfo.getApi()).getMaxErrorCount()) {
//            notification.notify(NotificationEmergencyLevel.SEVERE, "...");
//        }
//    }
}
